package top.humbleyuan.designmode.decorator.decorators;

import top.humbleyuan.designmode.decorator.ABDecorator;
import top.humbleyuan.designmode.decorator.ABTemple;

import java.util.List;

/**
 * @Author HumbleYuan
 * @Date 2020/3/23 16:51
 * @Des 求学装饰
 */
public class StudyBless extends ABDecorator {

    public StudyBless(ABTemple abTemple) {
        super(abTemple);
    }

    @Override
    protected List<String> desc() {
        List<String> descList = super.desc();
        descList.add("寺庙有求子功能");
        return descList;
    }

    @Override
    protected List<String> blessSentence() {
        List<String> list = super.blessSentence();
        list.add("学业有成!");
        return list;
    }

    @Override
    protected List<String> blessOp() {
        List<String> list = super.blessOp();
        list.add("求学祈福手势");
        return list;
    }
}
